﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AntiObesity.Base.Managers;

namespace AntiObesity.Base
{
    public partial class Intake
    {
        public Food Food
        {
            get { return FoodManager.FindByID(FoodID); }
        }

        public float TotalCalories
        {
            get { return Food.Calories * Quantity; }
        }

    }
}
